package com.mes.cloud.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 产品目录
 * 
 * @author ysd
 * @email shaodong.yuan@pactera.com
 * @version 2019-08-20 16:23:41
 */
@Data
@Table(name = "product_directory")
public class ProductDirectory implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 主键
    */
	@Id
	private String id;
   /**
    * 目录编码
    */
	@Column(name = "code")
	private String code;
   /**
    * 目录类型
    */
	@Column(name = "type")
	private String type;
   /**
    * 目录名称
    */
	@Column(name = "name")
	private String name;
   /**
    * 品牌ID
    */
	@Column(name = "brand_id")
	private String brandId;
   /**
    * 父节点ID
    */
	@Column(name = "parent_id")
	private String parentId;
   /**
    * 家族目录:欣和味达美酱油生抽酱油
    */
	@Column(name = "family_directory")
	private String familyDirectory;
   /**
    * 家族目录ids
    */
	@Column(name = "family_directory_ids")
	private String familyDirectoryIds;
   /**
    * 自身目录:欣和味达美酱油生抽酱油
    */
	@Column(name = "self_directory")
	private String selfDirectory;
   /**
    * 级别（1级：母品牌，2级：品牌，3级：一级品类，4级：二级品类，5级：三级品类，6级：四级品类，7级：五级品类）
    */
	@Column(name = "module_level")
	private Integer moduleLevel;
   /**
    * 状态(0：禁用，1：启用)
    */
	@Column(name = "enable_flag")
	private String enableFlag;
   /**
    * 备注
    */
	@Column(name = "remark")
	private String remark;

   /**
    * 创建人
    */
	@Column(name = "create_by")
	private String createBy;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 修改人
    */
	@Column(name = "update_by")
	private String updateBy;
   /**
    * 修改时间
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 删除标记，1：删除，0：未删除
    */
	@Column(name = "del_flag")
	private String delFlag;
   /**
    * 更新日期
    */
	@Column(name = "update_date_str")
	private String updateDateStr;
   /**
    * 版本
    */
	@Column(name = "version")
	private Integer version;

	@Column(name = "create_by_no")
	private String createByNo;

	@Column(name = "update_by_no")
	private String updateByNo;
}
